Conjunctive Grammars Can Generate Non-regular Unary Languages
نویسنده
چکیده
Conjunctive grammars were introduced by A. Okhotin in [1] as a natural extension of context-free grammars with an additional operation of intersection in the body of any production of the grammar. Several theorems and algorithms for context-free grammars generalize to the conjunctive case. Still some questions remained open. A. Okhotin posed nine problems concerning those grammars. One of them was a question, whether a conjunctive grammar over unary alphabet can generate only regular languages. We give a negative answer, contrary to the conjectured positive one, by constructing a conjunctive grammar for the language {a n : n ∈ N}. We then generalise this result—for every set of natural numbers L, such that their representation in some k-ary system is a regular set, we show that {a : n ∈ L} is generated by a conjunctive grammar over unary alphabet and that this grammar can be efficiently computed.
منابع مشابه
Expressive Power of LL(k) Boolean Grammars
The paper studies the family of Boolean LL languages, generated by Boolean grammars and usable with the recursive descent parsing. It is demonstrated that over a one-letter alphabet, these languages are always regular, while Boolean LL subsets of Σ∗a∗ obey a certain periodicity property, which, in particular, makes the language {anb2n | n > 0} non-representable. It is also shown that linear con...
متن کاملConjunctive Grammars
This paper introduces a class of formal grammars made up by augmenting the formalism of context-free grammars with an explicit set-theoretic intersection operation. It is shown that conjunctive grammars can generate some important non-contextfree language constructs, including those not in the intersection closure of context-free languages, and that they can provide very succinct descriptions o...
متن کاملConjunctive Grammars 1
This paper introduces a class of formal grammars made up by augmenting the formalism of context-free grammars with an explicit set-theoretic intersection operation. It is shown that conjunctive grammars can generate some important non-context-free language constructs, including those not in the intersection closure of context-free languages, and that they can provide very succinct descriptions ...
متن کاملControlled Pure Grammar Systems
This paper discusses grammar systems that have only terminals, work in the leftmost way, and generate their languages under the regulation by control languages over rule labels. It establishes three results concerning their generative power. First, without any control languages, these systems are not even able to generate all context-free languages. Second, with regular control languages, these...
متن کاملLanguage equations with addition in positional notation
Language equations with an operation of adding numbers written in a positional notation are considered. It is shown that this operation together with union and intersection invests equations with a sufficient expressive power to simulate every trellis automaton, as well as to specify some languages not accepted by any trellis automaton. The results have applications to conjunctive grammars over...
متن کامل